Skip to content

fix: align az get-access-token shim behavior#103

Merged
markphip merged 2 commits intomicrosoft:mainfrom
scaryrawr:fix/az-shim-access-token
Mar 10, 2026
Merged

fix: align az get-access-token shim behavior#103
markphip merged 2 commits intomicrosoft:mainfrom
scaryrawr:fix/az-shim-access-token

Conversation

@scaryrawr
Copy link
Copy Markdown
Member

Summary

  • honor accessToken queries with tsv output in the az shim
  • default to the Azure DevOps resource when no resource or scope is provided
  • add regression coverage for both shim behaviors

Testing

  • docker run --rm -v "/Users/mike/GitHub/codespace-features":/work -w /work ubuntu:focal bash -lc 'bash -n src/artifacts-helper/scripts/az test/artifacts-helper/test_az_shim.sh'
  • validated the shim directly in ubuntu:focal for both query/tsv output and default-resource scope handling

scaryrawr and others added 2 commits March 9, 2026 21:59
Honor query accessToken with tsv output and default to the Azure DevOps resource when no resource or scope is provided.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Bump the artifacts-helper feature version to 3.0.5 for the az shim behavior fix.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@markphip
Copy link
Copy Markdown
Contributor

The error in the tests seemed unrelated to the change and just an upstream anomaly

@markphip markphip merged commit 4f12ef9 into microsoft:main Mar 10, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants